package vn.axonactive;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
 * @author nhan.nguyen
 */
@XmlRootElement(name = "product")
public class Product {

	private String code;
	private String title;
	private String description;
	private double price;
	private long rank;
	private String imageURL;
    private long amount;
	

	
	public Product() {

	}

	@XmlAttribute
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@XmlElement
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@XmlElement
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@XmlElement
	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	@XmlElement
	public long getRank() {
		return rank;
	}

	public void setRank(long rank) {
		this.rank = rank;
	}
	
	@XmlElement
	public String getImageURL() {
		return imageURL;
	}

	public void setImageURL(String imageURL) {
		this.imageURL = imageURL;
	}
	
	
	@XmlElement
	public long getAmount() {
		return amount;
	}
	
	
	public void setAmount(long amount) {
		this.amount = amount;
	}

	
}
